package com.example.springmvc.view;

/**
 * @version 1.0
 * @Author 彭彦彬
 * @Date 2025/4/8 21:49
 * @注释
 */


public class ViewResolver {
    private String prefix;
    private String suffix;

    public String resolveViewName(String viewName) {
        return prefix + viewName + suffix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }

    public void setSuffix(String suffix) {
        this.suffix = suffix;
    }
}